<?php


namespace App\Http\Controllers\User;


use App\Http\Controllers\Controller;
use App\Models\Account;
use Illuminate\Http\Request;

class AccountController extends Controller
{

    public function index(Request $request)
    {
        $obj = Account::where('user_id', $request->user()->id)->first();
        return $this->response($obj);
    }

}
